//
// Created by PC on 2023/5/22.
//

#include <iostream>
#include <cstring>
using namespace std;

int main()
{
    char s[100]="hello world!";
    cout<<"strlen(): "<<strlen(s)<<endl;
    cout<<"sizeof(): "<<sizeof(s)<<endl;

    string str1 = "abc";
    string str2 = str1;
    char str3[] = "abc";
    char * str4 = str3;
    return 0;
}